// 注意这里的{Component}不是解构赋值，而是ES6的import语法，同时引入默认暴露的模块和单独暴露的模块
import React, { Component } from "react";
import Hello from "./components/Hello/Hello";
import Welcome from "./components/Welcome";

// 创建并暴露组件
export default class App extends Component {
    render() {
        return (
            <div>
                <Hello />
                <Welcome />
            </div>
        );
    }
}
